import request from '@/utils/request'

export function listProdItem(query) {
  return request({
    url: '/prod/items',
    method: 'get',
    params: query
  })
}

export function getProdItem(prod_id) {
  return request({
    url: '/prod/' + prod_id + "/info",
    method: 'get'
  })
}

export function listProdGroup(query) {
  return request({
    url: '/prod/groups',
    method: 'get',
    params: query
  })
}

export function listProdSelection() {
  return request({
    url: '/prod/selections'
  })
}
